package order.service.impl;

import org.springframework.stereotype.Component;
import order.service.ShopServiceFeignClient;
import common.model.result.Result;
import common.model.result.ResultCodeEnum;

@Component
public class ShopServiceFeignClientFallback implements ShopServiceFeignClient {
    @Override
    public Result getShopById(Long id) {
        return Result.failure(ResultCodeEnum.FAIL, "查询店铺失败");
    }
}
